home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14529 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.ox.ac.uk!news
  2. From: Mike Lay <m.lay1@uk.ac.ox.physics>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: >> File Compare Algorithm <<
  5. Date: Mon, 15 Apr 1996 15:34:30 +0100
  6. Organization: University of Oxford
  7. Message-ID: <31725E76.167E@uk.ac.ox.physics>
  8. References: <4ksocc$pv3@uuneo.neosoft.com>
  9. NNTP-Posting-Host: al8.physics.ox.ac.uk
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (X11; I; OSF1 V3.2 alpha)
  14. CC: bmathai@neosoft.com
  15.  
  16. bmathai@neosoft.com wrote:
  17. > I'm new to C programming and need some help.
  18. > Does anyone know of a source where I may obtain a file compare
  19. > algorithm for text files?  Not a binary compare algorithm, but a line
  20. > by line comparison.  One that can "calibrate" itself after coming
  21. > across mismatches in 2 files.  If you could PLEASE email me your
  22. > response as I don't know if I can frequent this newsgroup often.
  23. > Thanks in advance!
  24.  
  25. Not really a C question. The answer rather depends on your o/s.
  26.  
  27. VMS: diff [file list]
  28. UNIX: diff [file list]
  29. DOS: fc.exe
  30.  
  31. -- 
  32. Mike Lay
  33. SubDepartment of Nuclear and Particle Physics
  34. University of Oxford
  35. "My words, not theirs"
  36.